<script setup>

import Header from '../../components/Header.vue';
import titles from '../../components/titles.vue'

</script>



<template>
    <Header></Header>
    <div class="content">
        <titles :title="'Apply Credentials / Chinese ID'"></titles>
        <div class="box">
            <div class="left-box">
                <div>
                    <p>
                        <RouterLink to="/MyCredentials">My Credentials</RouterLink>
                    </p>
                </div>
                <div class="left-box-active">
                    <p>
                        <RouterLink to="/ApplyCredentials">Apply Credentials</RouterLink>
                    </p>
                </div>
                <div>
                    <p>
                        <RouterLink to="/AccountInformation">Account Information</RouterLink>
                    </p>
                </div>
            </div>
            <div class="right-box">
                <div class="right-box-title">
                    <p class="title">Real Person Authentication</p>
                </div>

                <div class="right-box-er">
                    <div class="right-box-er-left">
                        <img src="../../assets/img/Frame.svg" alt="">
                        <p>Please use your mobile phone to scan the QR code on the right for real person authentication
                        </p>
                    </div>
                    <div class="right-box-er-right">
                        <img src="../../assets/img/Group 34539.svg" alt="">
                    </div>
                </div>

                <div class="right-box-bottom">
                    <button class="btn_grey">
                        <RouterLink to="/chineseIDs">Submit after Finish</RouterLink>
                    </button>
                </div>
            </div>
        </div>
    </div>
</template>
<style scoped>
.content {
    width: 1100px;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-top: 100px;

    .title {
        display: flex;
        color: #1F2930;
        font-size: 20px;
        font-weight: 600;
        line-height: 30px;

        p {
            margin: 0 10px 20px 0;
        }

        .title-home {
            color: #0F094C;
        }
    }

    .box {
        display: flex;

        .left-box {
            display: flex;
            flex-direction: column;
            border: 1px solid #EFEFEF;
            width: 271px;
            margin: 0 20px 0 0;

            .left-box-active {
                p {
                    color: #EC535B;
                    font-weight: 700;
                    font-size: 18px;
                }

                background-color: #FFECEC;
            }

            p {
                margin: 20px 0 20px 10px;
                color: #1F2930;
                font-size: 18px;
                font-weight: 400;
            }
        }

        .right-box {
            border: 1px solid #EFEFEF;
            width: 900px;

            .right-box-title {
                margin: 20px;

            }

            .right-box-er{
                display: flex;
                justify-content: center;
                align-items: center;
                margin: 100px;
                .right-box-er-left{
                    text-align: center;
                    p{
                        width: 238px;
                    }
                }
                .right-box-er-right{
                    margin-left: 50px
                }
            }

            .right-box-bottom {
                display: flex;
                justify-content: end;

                button {
                    width: 149px;
                    height: 44px;
                    margin: 200px 50px 0 0;
                    border-radius: 6px;
                    border: none;

                }
            }

        }


    }
}
</style>